Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Node / ReticulumProjects / Sideband.git / files / recipes / python3 / patches / py3.7.1_fix-ctypes-util-find-library.patch

Displaying Raw • Download


recipes/python3/patches/py3.7.1_fix-ctypes-util-find-library.patch HEAD (8b8a5035) Text, 460 B

Tc9d1d9diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
Tf85149--- a/Lib/ctypes/util.py
T7ee787+++ b/Lib/ctypes/util.py
Tc9d1d9@@ -67,4 +67,11 @@
return fname
return None
T7ee787+# This patch overrides the find_library to look in the right places on
T7ee787+# Android
T7ee787+if True:
T7ee787+ from android._ctypes_library_finder import find_library as _find_lib
T7ee787+ def find_library(name):
T7ee787+ return _find_lib(name)
T7ee787+
elif os.name == "posix" and sys.platform == "darwin":


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────